﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Angel.Daos.IManager;
using Angel.Entities;
namespace Angel.Daos.IManager
{
    public interface IRoleManager
    {
        IEnumerable<Role> GetAll();
        Boolean Add(Role role);
        Role GetById(int id);
        void Delete(Role role);
        void Delete(long roleId);
        void Save(Role role);
        bool CheckNameExist(string name,int id);
        
    }
}
